package com.lingkang.ngfile.service.impl;

import com.lingkang.ngfile.entity.NgUser;
import com.lingkang.ngfile.mapper.NgUserMapper;
import com.lingkang.ngfile.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author linke
 * @date 2020-02-08 下午 15:45
 * @description
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private NgUserMapper ngUserMapper;

    @Override
    public NgUser getInfo(String username) {
        return ngUserMapper.getInfo(username);
    }
}
